2010-08-15, 13:09
Folgendes Skript listet nur einen Unterordner ausgehend vom aktuellen auf:
gci -recurse | ? {$_.PSisContainer -eq $true} |where{
if(
($_.fullname.split("\")).count -le 4){write-host $_.fullname}
} |
gci -recurse | ? {$_.PSisContainer -eq $true} |where{
if(
($_.fullname.split("\")).count -le 4){write-host $_.fullname}
}
Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined.
Do you like my content and would like to thank me for it? Consider making a small donation to my local fablab, the Dingfabrik Köln. Details on how to donate can be found here Spenden für die Dingfabrik.
More Posts - Website